package cn.cttic.base.api.domain.vo;

import cn.cttic.base.api.domain.BaseFieldWorkProcess;
import cn.cttic.common.translation.annotation.Translation;
import cn.cttic.common.translation.constant.TransConstant;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 外业序列视图对象 base_field_work_process
 *
 * @author Times.Studio
 * @date 2024-09-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BaseFieldWorkProcess.class)
public class BaseFieldWorkProcessVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 外业工作规范
     */
    @ExcelProperty(value = "外业工作规范")
    private String groupId;

    /**
     * 外业工作规范名称
     */
    @ExcelProperty(value = "外业工作规范名称")
    private String groupName;

    /**
     * 步骤内部分组序号
     */
    @ExcelProperty(value = "步骤内部分组序号")
    private Integer stepGroupIndex;

    /**
     * 步骤内部分组标识
     */
    @ExcelProperty(value = "步骤内部分组标识")
    private String stepGroupId;

    /**
     * 步骤内部分组编码
     */
    @ExcelProperty(value = "步骤内部分组编码")
    private String stepGroupCode;

    /**
     * 步骤名称
     */
    @ExcelProperty(value = "步骤名称")
    private String stepName;

    /**
     * 步骤序号
     */
    @ExcelProperty(value = "步骤序号")
    private Integer stepIndex;

    /**
     * 数据采集类型
     */
    @ExcelProperty(value = "数据采集类型")
    private Integer dataType;

    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, mapper = "dataType", other = "dict_field_data_type")
    private String dataTypeName;

    /**
     * 数据采集量
     */
    @ExcelProperty(value = "数据采集量")
    private Integer dataCount;

    /**
     * 内页数据类型
     */
    @ExcelProperty(value = "内页数据类型")
    private Integer interiorDataType;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
